package com.kila;


import java.util.List;

public class Student  {
    private int stuno;
    private String stuname;
    private int stuage;
    private Idcard idCard;
    private List<Orderlist> order;

    public int getStuno() {
        return stuno;
    }

    public void setStuno(int stuno) {
        this.stuno = stuno;
    }

    public String getStuname() {
        return stuname;
    }

    public void setStuname(String stuname) {
        this.stuname = stuname;
    }

    public int getStuage() {
        return stuage;
    }

    public void setStuage(int stuage) {
        this.stuage = stuage;
    }

    public Idcard getIdCard() {
        return idCard;
    }

    public void setIdCard(Idcard idCard) {
        this.idCard = idCard;
    }

    public List<Orderlist> getOrder() {
        return order;
    }

    public void setOrder(List<Orderlist> order) {
        this.order = order;
    }

    @Override
    public String toString() {
        return this.stuno+"--"+this.stuname+"--"+this.stuage+"--"+this.idCard.toString();
    }
}
